import inputLimit from './inputLimit';
import dialogDrag from './dialogDrag';
import drag from './drag';

const install = function(Vue) {
  Vue.directive('inputLimit', inputLimit);
  Vue.directive('dialogDrag', dialogDrag);
  Vue.directive('drag', drag);
};

if (window.Vue) {
  window['inputLimit'] = inputLimit;
  window['dialogDrag'] = dialogDrag;
  Vue.use(install); // eslint-disable-line
}

export default install;
